import request from '@/utils/request'
import qs from 'qs'
/**
 * 查询文章
 * @param {*} data 
 * @returns 
 */
export function GET_CASE_LIST(data) {
  return request({
    url: '/api/v101/case/page',
    method: 'get',
    params: data
  })
}

//增加
export function CASE_ADD(data) {
  return request({
    url: '/api/v101/case/save',
    method: 'post',
    data: data
  })
}

//修改
export function CASE_EDIT(data) {
  return request({
    url: '/api/v101/case/update',
    method: 'post',
    data: data
  })
}

//删除
export function CASE_DEL(data) {
  return request({
    url: '/api/v101/case/delete',
    method: 'get',
    params: data
  })
}